package models

import "gorm.io/gorm"

type Pet struct {
	gorm.Model
	Name  string `gorm:"type:varchar(50)" json:"name"`
	Value string `gorm:"type:varchar(50)" json:"value"` //属性
	Img   string `gorm:"type:varchar(255)" json:"img"`
	Time  string `gorm:"type:varchar(50)" json:"time"`
}

type User struct {
	gorm.Model
	Username string `gorm:"type:varchar(50)" json:"username"`
	Password string `gorm:"type:varchar(255)" json:"password"`
}
